<template>
  <div class="">
      我是组件
  </div>
</template>

<script>
export default {
  data() {
    return {
      num: 10
    };
  },
  created() {},
  methods: {
    setNum (){
      this.num = 200;
      console.log(this.num);
    }
  },
  components: {},
};
</script>

<style lang='scss'>
</style>
